package com.example.administrator.matriximage.viewpack;

import android.view.MotionEvent;
import android.view.ScaleGestureDetector;

public interface IEventPost
{
       /*事件处理的函数*/

       /*
       * 处理平移事件
       * */
       void downEvent(MotionEvent event);
       void moveEvent(MotionEvent event);
       void upEvent(MotionEvent event);

       /*
        *处理缩放事件
        * */
       void scaleBeginEvent(ScaleGestureDetector detector);
       void scaleEvent(ScaleGestureDetector detector);
       void scaleEndEvent(ScaleGestureDetector detector);

       void revoke();/*撤销操作*/




}
